syms h
A=[1 -3 5; -3 9 -7; 2 -6 h]
A(2,:)=A(2,:)-A(2,1)/A(1,1)*A(1,:);
A(3,:)=A(3,:)-A(3,1)/A(1,1)*A(1,:);

A

